package org.ffrl.design.decoration.cd;

import org.ffrl.design.decoration.Beverage;
import org.ffrl.design.decoration.CondimentDecorator;

public class Milk extends CondimentDecorator {
    
    Beverage beverage;
    
    @Override
    public Double cost() {
        return 3.0 * beverage.size() + beverage.cost();
    }
    
    @Override
    public String getDescription() {
        return "Beverage CondimentDecorator Milk";
    }
    
    
}
